home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 July / EnigmA AMIGA RUN 20 (1997)(G.R. Edizioni)(IT)[!][issue 1997-07 & 08][EAR-CD IV].iso / lightwave / lwmlist / 95.lightwave-10 / 001575_owner-lightwav…mail.webcom.com_Sun Oct 29 00:24:25 1995.msg < prev    next >
Internet Message Format  |  1995-11-07  |  3KB

  1. Received: by mail.webcom.com
  2.     (1.37.109.15/16.2) id AA029601465; Sun, 29 Oct 1995 00:24:25 -0700
  3. Return-Path: <owner-lightwave@mail.webcom.com>
  4. Received: from access4.digex.net by mail.webcom.com with ESMTP
  5.     (1.37.109.15/16.2) id AA029541460; Sun, 29 Oct 1995 00:24:21 -0700
  6. Received: (from erniew@localhost) by access4.digex.net (8.6.12/8.6.12) id CAA12643 ; for ; Sun, 29 Oct 1995 02:17:31 -0500
  7. Date: Sun, 29 Oct 1995 02:17:30 -0500 (EST)
  8. From: Ernie Wright <erniew@access.digex.net>
  9. To: lightwave@mail.webcom.com
  10. Subject: Re: Color Match,n
  11. In-Reply-To: <Pine.3.89.9510272335.A3252-0100000@netcom17>
  12. Message-Id: <Pine.SUN.3.91.951029015901.12223C-100000@access4.digex.net>
  13. Mime-Version: 1.0
  14. Content-Type: TEXT/PLAIN; charset=US-ASCII
  15. Sender: owner-lightwave@mail.webcom.com
  16. Precedence: bulk
  17.  
  18. Re Can I make an illegal NTSC signal, John Gross wrote:
  19.  
  20. > Toaster.... Not theoretically as the Toaster has built in filters.
  21. > PAR.... Yes.
  22. > MII to VHS...... Yes.
  23.  
  24. That's kinda my problem.  The general answer appears to be "Sometimes."
  25.  
  26. My friends won't let me operate the analog equipment (for good reason), 
  27. but I'm allowed to watch, and stuff I *know* should be illegal doesn't 
  28. cause a problem and doesn't show much on the waveform monitor.  It gets
  29. fixed somewhere, downstream of rendering, so I've tended to worry about
  30. it less and less.
  31.  
  32. For those who don't have video friends to lean on and want to know what
  33. I'm not worried about:
  34.  
  35. Some time ago I posted a little program to tomahawk that lets you play
  36. with color sliders and see the corresponding maximum NTSC IRE level.
  37. The, um, formula is
  38.  
  39.    a = 7.5 + 92.5 * ( y + sqrt( i * i + q * q ));
  40.  
  41. and (a > 110) or so is where the signal becomes illegal.
  42.  
  43. The most important thing is that the possibility of illegal signals is 
  44. entirely the result of the way color was added to b/w TV.  It's not 
  45. possible to render an illegal grayscale image--in particular, white
  46. (255, 255, 255) is fine.  The big problems are fully saturated yellow
  47. and cyan.  Red's never illegal, it just induces more than the usual
  48. amount of crosstalk with luminance.
  49.  
  50. The calculations that lead up to the formula are
  51.  
  52.    #define GAMMA(x) (((x)<5) ? 4.5*(x)  \
  53.                              : 1.099 * pow((x)/255.0, 1/2.2) - 0.099)
  54.    r = GAMMA( red );
  55.    g = GAMMA( green );
  56.    b = GAMMA( blue );
  57.    y = 0.2989 * r + 0.5866 * g + 0.1144 * b;
  58.    i = 0.5959 * r - 0.2741 * g - 0.3218 * b;
  59.    q = 0.2113 * r - 0.5227 * g + 0.3113 * b;
  60.  
  61. - Ernie
  62.  
  63.  
  64. --
  65. Ernie Wright <erniew@access.digex.net> sent this message.
  66. To Post a Message           : lightwave@webcom.com
  67. Un/Subscription Requests To : lightwave-request@webcom.com
  68. (DIGEST)                 or : lightwave-digest-request@webcom.com
  69. Administrative Items To     : owner-lightwave@webcom.com